>A post in two parts. First of all – thanks to Magus on #django for pointing out one of my errors to me. I’ve been working through Practical Django Projects over the last couple of days and it talks about having named urls. Take a look at these three one liners: # from urls.links.py (r’^$’, ‘archive_index’,link_info_dict, ‘coltrane_link_archive_index’), # from urls.py (r’^weblog/links/’, include(‘coltrane.urls.links’)),# In my template I get the url using {% url coltrane_link_archive_index %} We give our view a name … Continue reading >Django – Named URLS Gotcha
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed